from pydantic import BaseModel, Field



class LoginToken(BaseModel):
    token: str = Field(..., description="登录令牌")
    userId: str = Field(..., description="用户ID")

class LoginUser(BaseModel):
    id: str = Field(..., description="用户ID")
    userName: str = Field(..., description="用户名")